<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/shapewhite"
    android:orientation="vertical"
    android:gravity="center">

    <pl.droidsonroids.gif.GifImageView
        android:id="@+id/gif1"
        android:layout_width="@dimen/_200sdp"
        android:layout_height="@dimen/_200sdp"
        android:src="@drawable/good"
        android:background="@color/transparent"/>

    <Button
        android:id="@+id/failedbtn"
        android:textColor="@color/white"
        android:text="Successful..."
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@color/green_active"/>

</LinearLayout>